急问:在stata中unbalanced panel data的修改! | 您所在的位置:网站首页 › stata adopath执行不了 › 急问:在stata中unbalanced panel data的修改! |
以下为blog主人的回复: 不知道你的STATA中是否设定了profile.do 文件,如果没有,可以设一个。它的作用是把一些基本的设定定义好,在每次运行STATA时自动执行。 设定方法:把下面的代码粘贴到 do 文件编辑器中,保存到 D:\stata9 中,名称为 profile.do。当然,你也可以根据自己的需要添加或删除命令。 adopath + "D:\stata9\ado\personal"adopath + "D:\stata9\ado\personal\invt"adopath + "D:\stata9\ado\personal\update2"//adopath + "D:\statawd\chung"//adopath + "D:\statawd\mine"local fn = subinstr("`c(current_time)'",":","",2)log using d:\stata9\ado\do\s`fn'.log, text replacecmdlog using d:\stata9\ado\do\c`fn'.log, replacesysdir set PLUS "D:\stata9\ado\plus"sysdir set OLDPLACE "D:\ado"sysdir set PERSONAL "D:\stata9\ado\personal"set matsize 2000set more off,permacd d:\stata9\ado\personal |
CopyRight 2018-2019 实验室设备网 版权所有 |